package com.ssy.lingxi.system.dao;

import com.ssy.lingxi.system.entity.RuleConfiguration;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RuleConfigurationRepository extends JpaRepository<RuleConfiguration, Long> {

    List<RuleConfiguration> findAllByPlatformTypeAndIsPitchOn(Integer platformType, Integer isPitchOn, Sort sort);

}
